import org.junit.test;
import static org.junit.Assert.assertEquals;

public class test {
  

   @Test
   public void lauaSeis() {
    public void Try(Laud laud){
		do{
			do{
				System.out.print("Rida: ");
				katse[0]=input.nextInt();
				
				if( katse[0] > 3 ||katse[0] < 1)
                    System.out.println("Vale rida. Valida on 1, 2 voi 3");
			
			}while( katse[0] > 3 ||katse[0] < 1);
            
            do{
                System.out.print("Veerg: ");
                katse[1] = input.nextInt();
                
                if(katse[1] > 3 ||katse[1] < 1)
                    System.out.println("Vale veerg. Valida on 1, 2 voi 3");
			}while(katse[1] > 3 ||katse[1] < 1);
			katse[0]--; 
            katse[1]--;
            
            if(!checkTry(katse, laud))
                System.out.println("See koht laual on juba valitud. Proovi uuesti!");
        }while( !checkTry(katse, laud) );
    }
   }
   
 
}
//java -cp junit4.jar:hamcrest.jar:. org.junit.runner.JUnitCore test
//javac -cp junit4.jar:. -source 1.6 test.java
